package ti25_2;


public class Test {
    public static void main(String[] args) {

        Room room = new Room(401);
        Student student1 = new Student(403101,"张三","计算机2班",true,18, room.getNum());
        Student student2 = new Student(403101,"李四","计算机2班",false,18, room.getNum());
        Student student3 = new Student(403101,"张三","计算机2班",true,18, room.getNum());
        Student student4 = new Student(403101,"张三","计算机2班",true,18, room.getNum());
        Student student5 = new Student(403101,"张三","计算机2班",true,18, room.getNum());
        Student student6 = new Student(403101,"张三","计算机2班",true,18, room.getNum());
        Student student7 = new Student(403101,"张三7","计算机2班",true,18, room.getNum());
        Student student8 = new Student(403101,"张三8","计算机2班",true,18, room.getNum());
        room.check_in(student1);
        room.check_in(student2);
        room.check_in(student3);
        room.check_in(student4);
        room.check_in(student5);
        room.check_in(student6);
        room.check_in(student7);
        room.check_in(student8);
        room.show();

    }
}
